text: meta.description || 'No description' });
box.add(description, { expand: true });
- let metaBox = new St.BoxLayout();
+ let metaBox = new St.BoxLayout({ style_class: 'lg-extension-meta' });
box.add(metaBox);
let stateString = this._stateToString(meta.state);
let state = new St.Label({ style_class: 'lg-extension-state',
text: this._stateToString(meta.state) });
-
- let actionsContainer = new St.Bin({ x_align: St.Align.END });
- metaBox.add(actionsContainer);
- let actionsBox = new St.BoxLayout({ style_class: 'lg-extension-actions' });
- actionsContainer.set_child(actionsBox);
+ metaBox.add(state);
let viewsource = new Link.Link({ label: _("View Source") });
viewsource.actor._extensionMeta = meta;
viewsource.actor.connect('clicked', Lang.bind(this, this._onViewSource));
- actionsBox.add(viewsource.actor);
+ metaBox.add(viewsource.actor);
if (meta.url) {
let webpage = new Link.Link({ label: _("Web Page") });
webpage.actor._extensionMeta = meta;
webpage.actor.connect('clicked', Lang.bind(this, this._onWebPage));
- actionsBox.add(webpage.actor);
+ metaBox.add(webpage.actor);
}
let viewerrors = new Link.Link({ label: _("Show Errors") });